/*!
 * Copyright 2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../styles/colors";

.my-center {

  .my-center-header {
    background: $primary-background-color;
    padding: 10px;
    color: #fff;

    .my-center-topbar {
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .my-center-customer-info {
      display: flex;
      align-items: center;
    }

    .my-center-customer-avatar {
      height: 44px;
      border-radius: 100%;
    }

    .my-center-customer-nickname {
      font-size: 18px;
      margin-left: 6px;
    }

    .my-center-record-container {
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
    }

    .my-center-record-item {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .my-center-record-item-count {
      font-size: 18px;
    }
  }

  .my-center-content {
  }

  .my-center-card {
    background: #fff;
    border-radius: 10px;
    margin-top: 10px;

    &-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 10px;
    }

    &-title-right {
      display: flex;
      align-items: center;
      font-size: 12px;
      color: rgb(148, 148, 148);

      .mall-icon {
        font-size: 12px;
      }
    }

    &-content {
      padding: 10px;
    }

    .my-center-orders-container {
      display: flex;
      justify-content: space-around;
    }

    .my-center-orders-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #666;
    }

    .my-center-orders-item-icon {
      width: 26px;
      height: 26px;
    }

    .my-center-orders-item-name {
      margin-top: 6px;
      font-size: 12px;
    }
  }
}
